package cn.com.csg.smartenergy.modules.biz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;


@Controller
public class modelController {
    @RequestMapping(value = "/",method = RequestMethod.GET)
    public ModelAndView home(){
        return new ModelAndView("/index");
    }
    @RequestMapping(value = "/energy",method = RequestMethod.GET)
    public ModelAndView energy(){
        return new ModelAndView("/energy");
    }
    @RequestMapping(value = "/iot",method = RequestMethod.GET)
    public ModelAndView iot(){
        return new ModelAndView("/iot");
    }
}
